<!doctype html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        .page a {
            float: left;
            width: 20px;
            text-align: center;
            line-height: 20px;
            background-color: aliceblue;

        }
    </style>
</head>
<body>

<div id="app">
    <ul class="page">
        <a v-for="n of total" href="/page/{{n}}">{{n}}</a>
    </ul>
</div>
</body>
<script src="../../vender/vue@2.4.2.js"></script>
<script>

    var app=new Vue({
        el:'#app',
        data:{
            total:10
        }
    });

</script>
</html>